from random import*
import time


def read2list(filename):
    A = []
    for s in open(filename):
        A.append(int(s))
        swapped = True
        while swapped:
            swapped = False
            for i in range(len(A)-1):
                if A[i] > A[i+1]
                swaped = True
